package com.dhcc.bpm.modules.metadata.service.impl;

import com.dhcc.bpm.modules.metadata.entity.VerifyRule;
import com.dhcc.bpm.modules.metadata.vo.VerifyRuleVO;
import com.dhcc.bpm.modules.metadata.mapper.VerifyRuleMapper;
import com.dhcc.bpm.modules.metadata.service.IVerifyRuleService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName VerifyRuleServiceImpl
 * @Description 校验规则表 服务实现类
 * @Author daina
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Service("opc_verify_rule")
public class VerifyRuleServiceImpl extends BaseServiceImpl<VerifyRuleMapper, VerifyRule> implements IVerifyRuleService {

	@Override
	public IPage<VerifyRuleVO> selectVerifyRulePage(IPage<VerifyRuleVO> page, VerifyRuleVO verifyRule) {
		return page.setRecords(baseMapper.selectVerifyRulePage(page, verifyRule));
	}

}
